package com.extension.company.model.entity;

import java.util.List;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/7/27 15:16
 * 功能：商品详情
 */
public class GoodsInforBean {
	/**
	 * code : 200
	 * msg : 请求成功
	 * time : 1564211683
	 * data : {"goods_comment":[],"goods_info":{"goods_id":39,"goods_name":"柜台","category_id":20,"image":"/uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png","images":"/uploads/20190713/fdc9a6c07b74d878be58516c082a17da.png,/uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png","spec_type":"20","deduct_stock_type":"20","service":"三包，包赔包换包退","desc":"柜台柜台柜台柜台柜台柜台柜台柜台柜台","is_share":"1","share_percent":"5.00","share_count":0,"hot_cakes":"1","content":"<p>柜台柜台柜台柜台柜台柜台<br><\/p>","sales_initial":0,"sales_actual":0,"goods_sort":39,"delivery_id":24,"goods_status":"10","is_delete":"0","createtime":1563179816,"updatetime":1563179816,"specData":{"spec_attr":[{"group_id":24,"group_name":"大小","spec_items":[{"item_id":54,"spec_value":"大"},{"item_id":55,"spec_value":"小"}]}],"spec_list":[{"goods_spec_id":138,"spec_sku_id":"54","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}},{"goods_spec_id":139,"spec_sku_id":"55","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}}]},"spec_rel":[{"id":54,"spec_value":"大","spec_id":24,"createtime":1563004565,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":122,"goods_id":39,"spec_id":24,"spec_value_id":54,"create_time":1563179816}},{"id":55,"spec_value":"小","spec_id":24,"createtime":1563004570,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":123,"goods_id":39,"spec_id":24,"spec_value_id":55,"create_time":1563179816}}],"spec":[{"goods_spec_id":138,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"54","spec_image":"","create_time":1563179816,"update_time":1563179816},{"goods_spec_id":139,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"55","spec_image":"","create_time":1563179816,"update_time":1563179816}]}}
	 */

	private int code;
	private String msg;
	private String time;
	private DataBean data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public DataBean getData() {
		return data;
	}

	public void setData(DataBean data) {
		this.data = data;
	}

	public static class DataBean {
		/**
		 * goods_comment : []
		 * goods_info : {"goods_id":39,"goods_name":"柜台","category_id":20,"image":"/uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png","images":"/uploads/20190713/fdc9a6c07b74d878be58516c082a17da.png,/uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png","spec_type":"20","deduct_stock_type":"20","service":"三包，包赔包换包退","desc":"柜台柜台柜台柜台柜台柜台柜台柜台柜台","is_share":"1","share_percent":"5.00","share_count":0,"hot_cakes":"1","content":"<p>柜台柜台柜台柜台柜台柜台<br><\/p>","sales_initial":0,"sales_actual":0,"goods_sort":39,"delivery_id":24,"goods_status":"10","is_delete":"0","createtime":1563179816,"updatetime":1563179816,"specData":{"spec_attr":[{"group_id":24,"group_name":"大小","spec_items":[{"item_id":54,"spec_value":"大"},{"item_id":55,"spec_value":"小"}]}],"spec_list":[{"goods_spec_id":138,"spec_sku_id":"54","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}},{"goods_spec_id":139,"spec_sku_id":"55","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}}]},"spec_rel":[{"id":54,"spec_value":"大","spec_id":24,"createtime":1563004565,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":122,"goods_id":39,"spec_id":24,"spec_value_id":54,"create_time":1563179816}},{"id":55,"spec_value":"小","spec_id":24,"createtime":1563004570,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":123,"goods_id":39,"spec_id":24,"spec_value_id":55,"create_time":1563179816}}],"spec":[{"goods_spec_id":138,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"54","spec_image":"","create_time":1563179816,"update_time":1563179816},{"goods_spec_id":139,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"55","spec_image":"","create_time":1563179816,"update_time":1563179816}]}
		 */

		private GoodsInfoBean goods_info;
		private List<?> goods_comment;

		public GoodsInfoBean getGoods_info() {
			return goods_info;
		}

		public void setGoods_info(GoodsInfoBean goods_info) {
			this.goods_info = goods_info;
		}

		public List<?> getGoods_comment() {
			return goods_comment;
		}

		public void setGoods_comment(List<?> goods_comment) {
			this.goods_comment = goods_comment;
		}

		public static class GoodsInfoBean {
			/**
			 * goods_id : 39
			 * goods_name : 柜台
			 * category_id : 20
			 * image : /uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png
			 * images : /uploads/20190713/fdc9a6c07b74d878be58516c082a17da.png,/uploads/20190713/9580ea50ff929d4b3e563b27f7f30417.png
			 * spec_type : 20
			 * deduct_stock_type : 20
			 * service : 三包，包赔包换包退
			 * desc : 柜台柜台柜台柜台柜台柜台柜台柜台柜台
			 * is_share : 1
			 * share_percent : 5.00
			 * share_count : 0
			 * hot_cakes : 1
			 * content : <p>柜台柜台柜台柜台柜台柜台<br></p>
			 * sales_initial : 0
			 * sales_actual : 0
			 * goods_sort : 39
			 * delivery_id : 24
			 * goods_status : 10
			 * is_delete : 0
			 * createtime : 1563179816
			 * updatetime : 1563179816
			 * specData : {"spec_attr":[{"group_id":24,"group_name":"大小","spec_items":[{"item_id":54,"spec_value":"大"},{"item_id":55,"spec_value":"小"}]}],"spec_list":[{"goods_spec_id":138,"spec_sku_id":"54","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}},{"goods_spec_id":139,"spec_sku_id":"55","rows":[],"form":{"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}}]}
			 * spec_rel : [{"id":54,"spec_value":"大","spec_id":24,"createtime":1563004565,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":122,"goods_id":39,"spec_id":24,"spec_value_id":54,"create_time":1563179816}},{"id":55,"spec_value":"小","spec_id":24,"createtime":1563004570,"spec":{"id":24,"spec_name":"大小","createtime":1563004565},"pivot":{"id":123,"goods_id":39,"spec_id":24,"spec_value_id":55,"create_time":1563179816}}]
			 * spec : [{"goods_spec_id":138,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"54","spec_image":"","create_time":1563179816,"update_time":1563179816},{"goods_spec_id":139,"goods_id":39,"goods_no":"123","goods_price":"1000.00","line_price":"1000.00","stock_num":10,"goods_sales":0,"goods_weight":1000,"spec_sku_id":"55","spec_image":"","create_time":1563179816,"update_time":1563179816}]
			 */

			private int goods_id;
			private String goods_name;
			private int category_id;
			private String image;
			private String images;
			private String spec_type;
			private String deduct_stock_type;
			private String service;
			private String desc;
			private String is_share;
			private String share_percent;
			private int share_count;
			private String hot_cakes;
			private String content;
			private int sales_initial;
			private int sales_actual;
			private int goods_sort;
			private int delivery_id;
			private String goods_status;
			private String is_delete;
			private int createtime;
			private int updatetime;
			private SpecDataBean specData;
			private List<SpecRelBean> spec_rel;
			private List<SpecBeanX> spec;

			public int getGoods_id() {
				return goods_id;
			}

			public void setGoods_id(int goods_id) {
				this.goods_id = goods_id;
			}

			public String getGoods_name() {
				return goods_name;
			}

			public void setGoods_name(String goods_name) {
				this.goods_name = goods_name;
			}

			public int getCategory_id() {
				return category_id;
			}

			public void setCategory_id(int category_id) {
				this.category_id = category_id;
			}

			public String getImage() {
				return image;
			}

			public void setImage(String image) {
				this.image = image;
			}

			public String getImages() {
				return images;
			}

			public void setImages(String images) {
				this.images = images;
			}

			public String getSpec_type() {
				return spec_type;
			}

			public void setSpec_type(String spec_type) {
				this.spec_type = spec_type;
			}

			public String getDeduct_stock_type() {
				return deduct_stock_type;
			}

			public void setDeduct_stock_type(String deduct_stock_type) {
				this.deduct_stock_type = deduct_stock_type;
			}

			public String getService() {
				return service;
			}

			public void setService(String service) {
				this.service = service;
			}

			public String getDesc() {
				return desc;
			}

			public void setDesc(String desc) {
				this.desc = desc;
			}

			public String getIs_share() {
				return is_share;
			}

			public void setIs_share(String is_share) {
				this.is_share = is_share;
			}

			public String getShare_percent() {
				return share_percent;
			}

			public void setShare_percent(String share_percent) {
				this.share_percent = share_percent;
			}

			public int getShare_count() {
				return share_count;
			}

			public void setShare_count(int share_count) {
				this.share_count = share_count;
			}

			public String getHot_cakes() {
				return hot_cakes;
			}

			public void setHot_cakes(String hot_cakes) {
				this.hot_cakes = hot_cakes;
			}

			public String getContent() {
				return content;
			}

			public void setContent(String content) {
				this.content = content;
			}

			public int getSales_initial() {
				return sales_initial;
			}

			public void setSales_initial(int sales_initial) {
				this.sales_initial = sales_initial;
			}

			public int getSales_actual() {
				return sales_actual;
			}

			public void setSales_actual(int sales_actual) {
				this.sales_actual = sales_actual;
			}

			public int getGoods_sort() {
				return goods_sort;
			}

			public void setGoods_sort(int goods_sort) {
				this.goods_sort = goods_sort;
			}

			public int getDelivery_id() {
				return delivery_id;
			}

			public void setDelivery_id(int delivery_id) {
				this.delivery_id = delivery_id;
			}

			public String getGoods_status() {
				return goods_status;
			}

			public void setGoods_status(String goods_status) {
				this.goods_status = goods_status;
			}

			public String getIs_delete() {
				return is_delete;
			}

			public void setIs_delete(String is_delete) {
				this.is_delete = is_delete;
			}

			public int getCreatetime() {
				return createtime;
			}

			public void setCreatetime(int createtime) {
				this.createtime = createtime;
			}

			public int getUpdatetime() {
				return updatetime;
			}

			public void setUpdatetime(int updatetime) {
				this.updatetime = updatetime;
			}

			public SpecDataBean getSpecData() {
				return specData;
			}

			public void setSpecData(SpecDataBean specData) {
				this.specData = specData;
			}

			public List<SpecRelBean> getSpec_rel() {
				return spec_rel;
			}

			public void setSpec_rel(List<SpecRelBean> spec_rel) {
				this.spec_rel = spec_rel;
			}

			public List<SpecBeanX> getSpec() {
				return spec;
			}

			public void setSpec(List<SpecBeanX> spec) {
				this.spec = spec;
			}

			public static class SpecDataBean {
				private List<SpecAttrBean> spec_attr;
				private List<SpecListBean> spec_list;

				public List<SpecAttrBean> getSpec_attr() {
					return spec_attr;
				}

				public void setSpec_attr(List<SpecAttrBean> spec_attr) {
					this.spec_attr = spec_attr;
				}

				public List<SpecListBean> getSpec_list() {
					return spec_list;
				}

				public void setSpec_list(List<SpecListBean> spec_list) {
					this.spec_list = spec_list;
				}

				public static class SpecAttrBean {
					/**
					 * group_id : 24
					 * group_name : 大小
					 * spec_items : [{"item_id":54,"spec_value":"大"},{"item_id":55,"spec_value":"小"}]
					 */

					private int group_id;
					private String group_name;
					private List<SpecItemsBean> spec_items;

					public int getGroup_id() {
						return group_id;
					}

					public void setGroup_id(int group_id) {
						this.group_id = group_id;
					}

					public String getGroup_name() {
						return group_name;
					}

					public void setGroup_name(String group_name) {
						this.group_name = group_name;
					}

					public List<SpecItemsBean> getSpec_items() {
						return spec_items;
					}

					public void setSpec_items(List<SpecItemsBean> spec_items) {
						this.spec_items = spec_items;
					}

					public static class SpecItemsBean {
						/**
						 * item_id : 54
						 * spec_value : 大
						 */

						private int item_id;
						private String spec_value;

						public int getItem_id() {
							return item_id;
						}

						public void setItem_id(int item_id) {
							this.item_id = item_id;
						}

						public String getSpec_value() {
							return spec_value;
						}

						public void setSpec_value(String spec_value) {
							this.spec_value = spec_value;
						}
					}
				}

				public static class SpecListBean {
					/**
					 * goods_spec_id : 138
					 * spec_sku_id : 54
					 * rows : []
					 * form : {"goods_price":950,"goods_weight":1000,"stock_num":10,"spec_image":""}
					 */

					private int goods_spec_id;
					private String spec_sku_id;
					private FormBean form;
					private List<?> rows;

					public int getGoods_spec_id() {
						return goods_spec_id;
					}

					public void setGoods_spec_id(int goods_spec_id) {
						this.goods_spec_id = goods_spec_id;
					}

					public String getSpec_sku_id() {
						return spec_sku_id;
					}

					public void setSpec_sku_id(String spec_sku_id) {
						this.spec_sku_id = spec_sku_id;
					}

					public FormBean getForm() {
						return form;
					}

					public void setForm(FormBean form) {
						this.form = form;
					}

					public List<?> getRows() {
						return rows;
					}

					public void setRows(List<?> rows) {
						this.rows = rows;
					}

					public static class FormBean {
						/**
						 * goods_price : 950
						 * goods_weight : 1000
						 * stock_num : 10
						 * spec_image :
						 */

						private int goods_price;
						private int goods_weight;
						private int stock_num;
						private String spec_image;

						public int getGoods_price() {
							return goods_price;
						}

						public void setGoods_price(int goods_price) {
							this.goods_price = goods_price;
						}

						public int getGoods_weight() {
							return goods_weight;
						}

						public void setGoods_weight(int goods_weight) {
							this.goods_weight = goods_weight;
						}

						public int getStock_num() {
							return stock_num;
						}

						public void setStock_num(int stock_num) {
							this.stock_num = stock_num;
						}

						public String getSpec_image() {
							return spec_image;
						}

						public void setSpec_image(String spec_image) {
							this.spec_image = spec_image;
						}
					}
				}
			}

			public static class SpecRelBean {
				/**
				 * id : 54
				 * spec_value : 大
				 * spec_id : 24
				 * createtime : 1563004565
				 * spec : {"id":24,"spec_name":"大小","createtime":1563004565}
				 * pivot : {"id":122,"goods_id":39,"spec_id":24,"spec_value_id":54,"create_time":1563179816}
				 */

				private int id;
				private String spec_value;
				private int spec_id;
				private int createtime;
				private SpecBean spec;
				private PivotBean pivot;

				public int getId() {
					return id;
				}

				public void setId(int id) {
					this.id = id;
				}

				public String getSpec_value() {
					return spec_value;
				}

				public void setSpec_value(String spec_value) {
					this.spec_value = spec_value;
				}

				public int getSpec_id() {
					return spec_id;
				}

				public void setSpec_id(int spec_id) {
					this.spec_id = spec_id;
				}

				public int getCreatetime() {
					return createtime;
				}

				public void setCreatetime(int createtime) {
					this.createtime = createtime;
				}

				public SpecBean getSpec() {
					return spec;
				}

				public void setSpec(SpecBean spec) {
					this.spec = spec;
				}

				public PivotBean getPivot() {
					return pivot;
				}

				public void setPivot(PivotBean pivot) {
					this.pivot = pivot;
				}

				public static class SpecBean {
					/**
					 * id : 24
					 * spec_name : 大小
					 * createtime : 1563004565
					 */

					private int id;
					private String spec_name;
					private int createtime;

					public int getId() {
						return id;
					}

					public void setId(int id) {
						this.id = id;
					}

					public String getSpec_name() {
						return spec_name;
					}

					public void setSpec_name(String spec_name) {
						this.spec_name = spec_name;
					}

					public int getCreatetime() {
						return createtime;
					}

					public void setCreatetime(int createtime) {
						this.createtime = createtime;
					}
				}

				public static class PivotBean {
					/**
					 * id : 122
					 * goods_id : 39
					 * spec_id : 24
					 * spec_value_id : 54
					 * create_time : 1563179816
					 */

					private int id;
					private int goods_id;
					private int spec_id;
					private int spec_value_id;
					private int create_time;

					public int getId() {
						return id;
					}

					public void setId(int id) {
						this.id = id;
					}

					public int getGoods_id() {
						return goods_id;
					}

					public void setGoods_id(int goods_id) {
						this.goods_id = goods_id;
					}

					public int getSpec_id() {
						return spec_id;
					}

					public void setSpec_id(int spec_id) {
						this.spec_id = spec_id;
					}

					public int getSpec_value_id() {
						return spec_value_id;
					}

					public void setSpec_value_id(int spec_value_id) {
						this.spec_value_id = spec_value_id;
					}

					public int getCreate_time() {
						return create_time;
					}

					public void setCreate_time(int create_time) {
						this.create_time = create_time;
					}
				}
			}

			public static class SpecBeanX {
				/**
				 * goods_spec_id : 138
				 * goods_id : 39
				 * goods_no : 123
				 * goods_price : 1000.00
				 * line_price : 1000.00
				 * stock_num : 10
				 * goods_sales : 0
				 * goods_weight : 1000
				 * spec_sku_id : 54
				 * spec_image :
				 * create_time : 1563179816
				 * update_time : 1563179816
				 */

				private int goods_spec_id;
				private int goods_id;
				private String goods_no;
				private String goods_price;
				private String line_price;
				private int stock_num;
				private int goods_sales;
				private double goods_weight;
				private String spec_sku_id;
				private String spec_image;
				private int create_time;
				private int update_time;

				public int getGoods_spec_id() {
					return goods_spec_id;
				}

				public void setGoods_spec_id(int goods_spec_id) {
					this.goods_spec_id = goods_spec_id;
				}

				public int getGoods_id() {
					return goods_id;
				}

				public void setGoods_id(int goods_id) {
					this.goods_id = goods_id;
				}

				public String getGoods_no() {
					return goods_no;
				}

				public void setGoods_no(String goods_no) {
					this.goods_no = goods_no;
				}

				public String getGoods_price() {
					return goods_price;
				}

				public void setGoods_price(String goods_price) {
					this.goods_price = goods_price;
				}

				public String getLine_price() {
					return line_price;
				}

				public void setLine_price(String line_price) {
					this.line_price = line_price;
				}

				public int getStock_num() {
					return stock_num;
				}

				public void setStock_num(int stock_num) {
					this.stock_num = stock_num;
				}

				public int getGoods_sales() {
					return goods_sales;
				}

				public void setGoods_sales(int goods_sales) {
					this.goods_sales = goods_sales;
				}

				public double getGoods_weight() {
					return goods_weight;
				}

				public void setGoods_weight(double goods_weight) {
					this.goods_weight = goods_weight;
				}

				public String getSpec_sku_id() {
					return spec_sku_id;
				}

				public void setSpec_sku_id(String spec_sku_id) {
					this.spec_sku_id = spec_sku_id;
				}

				public String getSpec_image() {
					return spec_image;
				}

				public void setSpec_image(String spec_image) {
					this.spec_image = spec_image;
				}

				public int getCreate_time() {
					return create_time;
				}

				public void setCreate_time(int create_time) {
					this.create_time = create_time;
				}

				public int getUpdate_time() {
					return update_time;
				}

				public void setUpdate_time(int update_time) {
					this.update_time = update_time;
				}
			}
		}
	}
}
